package com.hoshiicloud.user.param.usercenter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户收货地址分页查询参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/11 10:35
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class MemberAddressPageParam implements Serializable {

    private static final long serialVersionUID = -2089533994779220687L;

    /**
     *当前页，默认1
     */
    @ApiModelProperty(name = "pageIndex", value = "当前页码", required = true, dataType = "java.lang.Long", example = "1")
    private Long pageIndex = 1L;

    /**
     *每页数量，默认10
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小", required = true, dataType = "java.lang.Long", example = "10")
    private Long pageSize = 10L;

    // 会员ID
    @ApiModelProperty(name = "userId", value = "用户主键ID", dataType = "java.lang.Long", example = "3171776001692664000")
    private Long userId;

    // 收货人姓名
    @ApiModelProperty(name = "name", value = "收货人姓名", dataType = "java.lang.String", example = "张大大")
    private String name;

    // 身份证
    @ApiModelProperty(name = "idCard", value = "身份证", dataType = "java.lang.String", example = "42032419880904051X")
    private String idCard;

    // 手机号码
    @ApiModelProperty(name = "phone", value = "手机号码", dataType = "java.lang.String", example = "18289780098")
    private String phone;

    // 固话
    @ApiModelProperty(name = "telephone", value = "固话", dataType = "java.lang.String", example = "0591-8678573")
    private String telephone;

    // 邮编
    @ApiModelProperty(name = "postcode", value = "邮编", dataType = "java.lang.String", example = "350015")
    private String postcode;

}